package com.kingyun.gpsinspection.purificationservice.facade.model.som;

import com.cqhilink.api.common.utils.date.DateUtil;

import java.io.Serializable;

public class InfoflowComment implements Serializable {
    private String infoflowCommentId;

    private long createTime;

    private String createTimeStr;

    private String createUserId;

    private String commentUser;

    private String infoflowId;

    private String content;

    private Long floorindex;

    private String targetCommentId;

    private String replayCommentUser;

    private String commentUserHead;

    public String getInfoflowCommentId() {
        return infoflowCommentId;
    }

    public void setInfoflowCommentId(String infoflowCommentId) {
        this.infoflowCommentId = infoflowCommentId == null ? null : infoflowCommentId.trim();
    }

    public long getCreateTime() {
        return DateUtil.StringToDate(createTimeStr).getTime();
    }

    public void setCreateTime(long createTime) {
        this.createTime = createTime;
    }

    public String getCreateUserId() {
        return createUserId;
    }

    public void setCreateUserId(String createUserId) {
        this.createUserId = createUserId == null ? null : createUserId.trim();
    }

    public String getInfoflowId() {
        return infoflowId;
    }

    public void setInfoflowId(String infoflowId) {
        this.infoflowId = infoflowId == null ? null : infoflowId.trim();
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content == null ? null : content.trim();
    }

    public Long getFloorindex() {
        return floorindex;
    }

    public void setFloorindex(Long floorindex) {
        this.floorindex = floorindex;
    }

    public String getTargetCommentId() {
        return targetCommentId;
    }

    public void setTargetCommentId(String targetCommentId) {
        this.targetCommentId = targetCommentId == null ? null : targetCommentId.trim();
    }

    public String getCommentUser() {
        return commentUser;
    }

    public void setCommentUser(String commentUser) {
        this.commentUser = commentUser;
    }

    public String getReplayCommentUser() {
        return replayCommentUser;
    }

    public void setReplayCommentUser(String replayCommentUser) {
        this.replayCommentUser = replayCommentUser;
    }

    public String getCommentUserHead() {
        return commentUserHead;
    }

    public void setCommentUserHead(String commentUserHead) {
        this.commentUserHead = commentUserHead;
    }

    public String getCreateTimeStr() {
        return createTimeStr;
    }

    public void setCreateTimeStr(String createTimeStr) {
        this.createTimeStr = createTimeStr;
    }
}